package com.ysh.common;

/**
 * 业务员处理模块，处理业务层逻辑问题
 */
public class ResultFactory {

    public static Result OK() {
        return  new Result(Code.OK, "执行成功");
    }

    public static Result ERROR(String message) {
        return new Result(Code.ERROR, message);
    }

}
